home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news3.noc.netcom.net!zdc!zippo!usenet
- From: Jim McFarland <jgm6@orkand.em.cdc.gov>
- Subject: Re: Moving to C++ (was "no subject")
- Content-Type: text/plain; charset=us-ascii
- Sender: usenet@news.zippo.com
- Content-Transfer-Encoding: 7bit
- Nntp-Posting-Host: 158.111.166.77
- Organization: The Orkand Corporation
- Message-ID: <DLqq4x.2yt@news.zippo.com>
- References: <4e5qb8$7f0@server1.ctc.com>
- X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
- Mime-Version: 1.0
- Date: Thu, 25 Jan 1996 14:12:33 GMT
-
- "Michael D. Aesoph" <aesoph@ctc.com> wrote:
- >Dear Collective:
- >
- > I an a C programmer that has recently been tasked to do some
- >programming in C++. Virtually all of my work involves data acquisition
- >of some kind and I normally use National Instrument's LabWindows/CVI as
- >my programming environment. In standard programming, things are
- >relatively simple... Configure data acquisition, acquire data, plot
- >data, analyze data, save data, etc. etc. Now, in C++, there's all this
- >talk about classes, objects, and other things. The project manager wants
- >a "sensor" class.... OK, where's the link??? I still have to do all of
- >the tasked mentioned before, but embedded apparently in a class????
- >Please advise.. I know that this is the classic stumbling block for
- >beginning C++ programmers, so don't make fun of me!!!!!
- >
- > Michael D. Aesoph
- >
- Start by learning what classes are, i.e. learn about object-oriented
- design and programming. Once you understand that, then learn how to
- implement classes in C++. What you are really up against is a change in
- the architecture (design) or your system. How did you "design" your
- system before, functional decomposition? It sounds like a very
- sequential, task oriented system. Did you use any abstract data types
- and encapsulation? The way you designed your software previously (and
- your level of computer science knowledge) will have a big impact on how
- hard it will be for you to move to object-orientation. The biggest
- stumbling block in moving from C to C++ is a solid understanding of the
- principles and techniques of good design and programming. With this
- foundation, moving from C to C++ (and from structured to object-oriented
- design) is not as difficult.
-
- Jim
-
-
-